package com.hsjk.szwj.module.official.controller.admin.unit.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/11/23 23:58
 **/
@Data
public class AdminModuleDiyUpdateReqVO {
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    @NotNull(message = "id不能为空")
    private Long id;
    /**
     * 名称
     */
    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private String diyName;
    /**
     * 标识图标URL地址
     */
    @Schema(description = "标识图标URL地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private String iconUrl;
    /**
     * 跳转页面地址
     */
    @Schema(description = "跳转页面地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private String jumpPage;
    /**
     * 排序
     */
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "xxx")
    private Integer sortNo;
}
